var sqlMap = {
  site: {
    site: 'select * from site'
  },
  social: {
    social: 'select * from social'
  },
  article: {
    focusList: 'select * from article WHERE focus = 1',
    postList: 'select * from article WHERE recommend = 1 limit ?,?',
    all: 'select * from article limit ?,?',
    total: 'select count(*) as total from article',
    detail: 'SELECT * FROM `article` WHERE id =?'
  },
  friend: {
    friend: 'select * from friend'
  },
  user: {
    login: 'select pwd from admin where user = ?;'
  },
  admin: {
    save: "INSERT INTO article (title,img,isTop,banner,isHot,pubtime,summary,content,viewsCount,commentsCount,focus,recommend,html) VALUE (?,?,?,?,?,?,?,?,?,?,?,?,?)",
  }
}
module.exports = sqlMap;